// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/gloable.css'
import request from "./utils/request";
import Router from "vue-router";
import axios from "axios";
import {compareTime} from './utils/compareTime.js'

axios.defaults.withCredentials = true;

Vue.config.productionTip = false

Vue.use(ElementUI,{size: "mini"});

Vue.prototype.request = request

Vue.prototype.$Time = compareTime

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
